﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Pinia.Models
{
    public class ItemModel
    {
        

        public string ItemImage { get; set; }
       
        

        public string Descript { get; set; }
		
		public string ItemName { get; set; }

        public int Id { get; set; }
		
		public double ResolvePrice { get; set; }

        public double CurrentPrice { get; set; }
		
		public DateTime ClosingDatetime { get; set; }
		
		public bool ISold { get; set; }
		
		public List<FeedbackModel> feedback { get; set; }
		
		public UserModel auctioneer { get; set; }
		
		public List<UserModel> bidders { get; set; }
		
		public List<WatchModel> watchs { get; set; }
		
		public List<BidModel> bids { get; set; }
		
		public ConditionModel condition { get; set; }
		
		public CurrencyModel currency { get; set; }
		
		public PayMethodModel payMethod { get; set; }	
    }
	
	
    public class CategoryModel 
    {
        public string CateName { get; set; }
        public string CateDescript { get; set; }//这个没有这个东西
        public int CateId { get; set; }
    }
	
	
	public enum ConditionModel
	{
		GOOD = 1,
		JUSTSOSO = 2,
		BAD = 3
	}
	
	public enum CurrencyModel
	{
		DOLLAR = 1,
		RMB = 2,
		EURO = 3
	}
	
	
	
	public enum PayMethodModel
	{
		VISA = 1,
		PAPER_CURRETN = 2
	}
	
	
}